package form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import vo.MemberVO;

public class VendorForm extends ActionForm{
	private  String  id;
	private String vendorId;
	private String vendorName;
	private String regNo;
	private String reprsName;
	private String tel;
	private String fax;
	private String info;
	private String delFlag;

	

	public VendorForm() {
		super();
		// TODO Auto-generated constructor stub
	}




	public VendorForm(String id, String vendorId, String vendorName,
			String regNo, String reprsName, String tel, String fax,
			String info, String delFlag) {
		super();
		this.id = id;
		this.vendorId = vendorId;
		this.vendorName = vendorName;
		this.regNo = regNo;
		this.reprsName = reprsName;
		this.tel = tel;
		this.fax = fax;
		this.info = info;
		this.delFlag = delFlag;
	}




	public String getId() {
		return id;
	}




	public void setId(String id) {
		this.id = id;
	}




	public String getVendorId() {
		return vendorId;
	}




	public void setVendorId(String vendorId) {
		this.vendorId = vendorId;
	}




	public String getVendorName() {
		return vendorName;
	}




	public void setVendorName(String vendorName) {
		this.vendorName = vendorName;
	}




	public String getRegNo() {
		return regNo;
	}




	public void setRegNo(String regNo) {
		this.regNo = regNo;
	}




	public String getReprsName() {
		return reprsName;
	}




	public void setReprsName(String reprsName) {
		this.reprsName = reprsName;
	}




	public String getTel() {
		return tel;
	}




	public void setTel(String tel) {
		this.tel = tel;
	}




	public String getFax() {
		return fax;
	}




	public void setFax(String fax) {
		this.fax = fax;
	}




	public String getInfo() {
		return info;
	}




	public void setInfo(String info) {
		this.info = info;
	}




	public String getDelFlag() {
		return delFlag;
	}




	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}




	@Override
	public String toString() {
		return "VendorForm [delFlag=" + delFlag + ", fax=" + fax + ", id=" + id
				+ ", info=" + info + ", regNo=" + regNo + ", reprsName="
				+ reprsName + ", tel=" + tel + ", vendorId=" + vendorId
				+ ", vendorName=" + vendorName + "]";
	}




	@Override
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		id=null;
		vendorId ="000000";
		vendorName = null;	
		regNo = null;
		reprsName = null;
		tel = null;
		fax = null;
		info = null;
		delFlag = "0";
		
		super.reset(mapping, request);

	}
	
	
}
